package com.jiang.mall.mallware.ware.feign;

import com.jiang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient("mall-order")
public interface OrderFeignService {

    @ResponseBody
    @PostMapping("/order/order/status/{orderSn}")
    public R getOrderStatus(@PathVariable String orderSn);
}
